package com.jc.redis.serialize;

/**
 * Created by starmezhh on 16/7/25.
 */
public interface ISerializer {

    <T extends Object> byte[] serialize(T T);

    <T extends Object> T deserialize(byte[] bytes,Class<T> tClass);

}
